package cn.javapulzzer;
import java.sql.SQLException;
import java.util.regex.Pattern;

import javax.sql.rowset.WebRowSet;

import com.sun.rowset.WebRowSetImpl;
@SuppressWarnings("restriction")
public class Regex {

	/**
	 * @param args
	 */
	
	
	public static void main(String[] args) {
		String data="Java";
		boolean result=Pattern.matches("Java",data);
		System.out.println(result);
		 try {
			WebRowSet w=new WebRowSetImpl();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	 

}
